package com.mano.mall.api.dto.integral.input;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author: 支付后积分处理类
 * @Description:
 * @Date: Created in 15:51 2020/10/30
 * @Modified By:
 */
@Data
public class IntegralInputDTO {

    @NotNull(message = "用户ID不能空")
    private Integer userId;

    @NotBlank(message = "订单支付id不能为空")
    private String paymentId;

    @NotNull(message = "增加的积分不能为空")
    private Integer integral;
}
